<%@ page language="java" contentType="text/html;charset=utf-8"
	pageEncoding="utf-8"%>

<%@ include file="/core/taglibs2.jsp"%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="/core/adminTopMeta.jsp"%>

 

</head> 

<body oncontextmenu="return false"><div class="loader"></div>
	<div class="row">
		<div class="col-md-12">
			<div class="panel">
				<div class="panel-heading text-primary">
					<h3 class="panel-title">
						<i class="fa fa-list-ol"></i> 报单积分明细
						<span class="pull-right">
							<div class="btn-group code">
								<a href="#" class="dropdown-toggle" data-toggle="dropdown"
									title="Classes used"> </a>

							</div>
						</span>
					</h3>
				</div>
				
				<!-- /panel body -->
			</div>
		</div>
		 
		<div class="col-md-12">
			<div class="panel panel-primary">
				<div class="panel-heading">
					<h3 class="panel-title  text-white" style="font-size: 17px;">
						报单积分明细
					</h3>
				</div>
				<div class="panel-body">
<form id="commitForm" name="commitForm"  method="post" action="<%=basePath%>/admin/wealth/logEleList.shtml">
					<div class="table-responsive">
					<jodd:form scopes="request">
					 
					<table class="table table-bordered  table-striped " id="example">
						<tr>
							<td  style="vertical-align:middle;">
								代理商账号:
									<input type="text"  name="memberLoginName" id="memberLoginName"/>
								开始时间：<input id="startDate" name="startDate" class="datemask1" value="${startDate}" type="text"/>
								结束时间：<input id="endDate" name="endDate" class="datemask1" value="${endtDate}" type="text"/>
							 	<button type="submit" class="btn btn-success ">
									查询
								</button>
							</td>
						</tr>
					</table>
		 			</jodd:form> 
		 			</div>
		 			<div class="table-responsive">
		 			 
					<table class="table table-bordered table-hover table-striped display tab_center" id="example" >
						<thead>
    						 
							<tr class="info">
								<th>时间</th>
								<th>代理商编号</th>
								 
								<th>明细</th>
								 
								<th>入账金额</th>
								<th>出帐金额</th>
								<th>余额</th>
							</tr>
							 
						</thead>
						<tbody>
					<c:forEach items="${pagination.pageList}"  var="o" >
							 
							<tr class="odd gradeX">
								<td>
									${o.commitDate}
								</td>
								<td>${o.memberLoginName}</td>
								 
								 
								<td>${o.title}</td>
								 
								<td>
									<c:if test="${o.num>=0}">
										<strong>${o.num}</strong>
									</c:if>
								</td>
								<td>
									<c:if test="${o.num<0}">
										<strong>${o.num}</strong>
									</c:if>
								</td>
								<td>
									<strong style="color: red">${o.yu}</strong>
								</td>
							</tr>
							 
					</c:forEach>
							<tr>
								<td style="border: 0px;background: white;text-align: left;" colspan="6">
								 	<page:pageControl /> 
								</td>
							</tr>				 
						</tbody>
					
						 
					</table>
					</div> 
</form>
				</div>
			</div>
			<!-- / Info Panel -->
			 
		</div>
		 
		<!-- /col-md-12 -->
	</div>
	<!--代码高亮end-->
		
<link rel="stylesheet" href="<%=basePath%>/resources/adminCss/datepicker/datepicker3.css"/>
<script src="<%=basePath%>/resources/adminCss/datepicker/bootstrap-datepicker.js"></script>
<script src="<%=basePath%>/resources/adminCss/datepicker/locales/bootstrap-datepicker.zh-CN.js"></script>  <!--中文补丁-->
<!-- 单时间控件-->
<!--http://www.bootcss.com/p/bootstrap-datetimepicker/-->

<link rel="stylesheet" href="<%=basePath%>/resources/adminCss/daterangepicker/daterangepicker-bs3.css"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script>
<script src="<%=basePath%>/resources/adminCss/daterangepicker/daterangepicker.js"></script>
<!--双日期控件-->
<!--http://blog.csdn.net/u012854400/article/details/45293037-->


<script>
    $('.datemask1').datepicker({
        language: "zh-CN",
        format:'yyyy-mm-dd',
        autoclose:true
    });

    $('.datemask2').daterangepicker({
        locale : {
            applyLabel : '确定',
            cancelLabel : '取消',
            fromLabel : '起始时间',
            toLabel : '结束时间',
            format:'yyyy-mm-dd',
            customRangeLabel : '自定义',
            daysOfWeek : [ '日', '一', '二', '三', '四', '五', '六' ],
            monthNames : [ '一月', '二月', '三月', '四月', '五月', '六月',
                '七月', '八月', '九月', '十月', '十一月', '十二月' ],
            firstDay : 1
        }
    });
</script>
	
</body>
</html>